package com.xuecheng.api.course;

import com.xuecheng.framework.domain.course.CourseBase;
import com.xuecheng.framework.domain.course.ext.CourseInfo;
import com.xuecheng.framework.domain.course.request.CourseListRequest;
import com.xuecheng.framework.model.response.QueryResponseResult;
import com.xuecheng.framework.model.response.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(value = "课程的增删改查")
public interface CourseBaseControllerApi {

   @ApiOperation( "根据条件查询分页查询课程")
   public QueryResponseResult<CourseInfo> findCourseList(int page, int size, CourseListRequest courseListRequest);

   @ApiOperation("更新课程基础信息")
   public ResponseResult updateCourseBase(String id, CourseBase courseBase);
}
